Fix parse_coordinates in the same way.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 8 Oct 2014 15:57:44 +0000 (15:57 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Wed, 8 Oct 2014 15:57:44 +0000 (15:57 +0000)
gpsbabel/parse.cc

index f8faa360f35b572a665c63e9f6a02667b655487f..68223dee5062e614d5302a18625399ae1c4d6dd4 100644 (file)
@@ -289,6 +289,6 @@ int
 parse_coordinates(const QString& str, int datum, const grid_type grid,
                   double* latitude, double* longitude, const char* module)
 {
-  return parse_coordinates(str, datum, grid,
+  return parse_coordinates(CSTR(str), datum, grid,
                            latitude, longitude, module);
 }